! static text with level and tab
! Called by Attr, Event, BirthEvent Details
! In _PLC record from _POI
! In OBJE record from _LOC
NewLine
if @rec="OBJE"
  tab
endif
cell static,local(@tag)&":"
set alignment right
if @rec!="_PLC"
  set font "GEDCOM Extension Text"
  if @rec="OBJE"
    sizeToFit
  else
    set tabwidth -1
  endif
  
  ! edit field with value
  cell EditValue
  set Width -1
else
  ! called by _POI in _PLC record
  set tabwidth -1
  
  ! edit field with value (room for code and optional tags)
  #codeSize=140+#cellSkip+22
  cell EditValue
  set Width #rightMargin$-#rightSkip-#hpos$-#codeSize
endif

help local("Enter latitude and longitude (e.g., 45.3N, 112.3W)")
set ScriptLink "Open_Location_in_GeoHack.gcscpt" ScriptType format
